<template>
  <div>
    <div class="box">
      <router-view/>
    </div>
    <!--<Page/>-->

  </div>
</template>

<script>
  // import Page from '@/views/Event.vue'

  import {login} from '@/api/users';

  export default {
    name: "App",
    created() {
      // login({username: 'admin', password: 'admin'}).then(res => {
      //   console.log(res); //store
      // })
    },
    components: {
      // Page
    },
    // created() {
    //   fetch('/api/list').then(res => res.json()).then(res => console.log(res));
    //   fetch('/list').then(res => res.json()).then(res => console.log(res));
    // }
  }
</script>

<style scoped>

  /*.box {*/
  /*width: 200px;*/
  /*height: 200px;*/
  /*background-color: beige;*/

  /*}*/

</style>
